@layout("/layout/_container.html",{plugins:["ztree"],js:["/assets/modular/system/notice/notice.js"]}){

<script type="text/javascript">

    /**
     * 文件下载
     */
    function downs(path) {
        window.location.href = Feng.ctxPath + '/demo/downs?path='+path;
    }

    /**
     * 文件导出
     */
    function exports() {
        window.location.href = Feng.ctxPath + '/demo/exports';
    }

</script>

<div class="layui-body-header">
    <span class="layui-body-header-title">我的作业</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <!--<div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="通知标题"/>
                            </div>-->
                            <div class="layui-inline">
                                <button id="uploads" class="layui-btn icon-btn"><i class="layui-icon">&#xe681;</i>上传</button>
                                <button id="inports" class="layui-btn icon-btn"><i class="layui-icon">&#xe656;</i>导入</button>
                                <button id="exports" class="layui-btn icon-btn" onclick="exports()"
                                    style="margin-left:0px;padding-left: 10px; ">
                                    <i class="layui-icon">&#xe67d;</i>导出
                                </button>
                            </div>
                        </div>
                    </div>

                    <div id="uploads-list" style="width: 100%;height: 300px;border: 1px black solid;margin-top: 10px;overflow-y:auto;"></div>
                    <table class="layui-table" id="noticeTable" lay-filter="noticeTable" style="margin-top: 20px;"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>-->
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}
